#include "../mqserver/channel.hpp"

int main(){
    ChannelManager::ptr cmp = std::make_shared<ChannelManager>();
    cmp->openChannel("c1",
        std::make_shared<VirtualHost>("host1", "./data/host1/message/", "./data/host/host1.db"),
        std::make_shared<ConsumerManager>(),
        Channel::ProtobufCodecPtr(),
        muduo::net::TcpConnectionPtr(),
        threadpool::ptr());

    return 0;
}